package lincen.javame.light.ui.geometric;

/**
 * ��
 * @author ���
 */
class Point {

	/**
	 * �����
	 */
	private int x;

	/**
	 * �����
	 */
	private int y;

	public Point() {
		this.x = 0;
		this.y = 0;
	}
	
	
	
	/**
	 * ���������
	 * @param y
	 */
	public void setY(int y) {
		this.y = y;
	}

	/**
	 * ��������
	 * @return
	 */
	public int getY() {
		return y;
	}

	/**
	 * ���ú����
	 * @param x
	 */
	public void setX(int x) {
		this.x = x;
	}

	/**
	 * ��ú����
	 * @return
	 */
	public int getX() {
		return x;
	}

	public String toString(){
		return "["+x+", "+y+"]";
	}
	
	/**
	 * ���ú������
	 */
	void setLocation(int x, int y){
		this.x = x;
		this.y = y;
	}
}
